﻿using SqlSugar;

namespace DeZhen.DataCollection.Model.Common
{
    public class BaseEntity
    {
        [SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
        public long Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnName = "create_time", ColumnDescription = "创建时间")]
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        [SugarColumn(ColumnName = "update_time", ColumnDescription = "修改时间")]
        public DateTime? UpdateTime { get; set; }
    }
}
